
		app.controller('homeCtrl',["$scope","$http",function($scope,$http){
			
			$scope.menu=[];
			$http.get('http://h5.yztctech.net/api/axf/apihome.php')
			.success(function(req){
				$scope.menu= req.data;
				
			})
			
			$scope.list=[];
			$http.get('http://h5.yztctech.net/api/axf/apihome.php')
			
			.success(function(req){
				$scope.list=req.data.menu;
				console.log($scope.list);
				
			})
		}])